package cn.joyfulmedia.mis.service.interfaces;


import cn.joyfulmedia.common.util.page.Pagination;
import cn.joyfulmedia.entity.ExamMisDict;

import java.util.List;


public interface DictService {
    /**
     * 保存
     */
    public Integer saveDict(ExamMisDict entity) throws Exception;

    /**
     * 修改
     */
    public Integer updateDictById(ExamMisDict entity) throws Exception;

    /**
     * 根据ID查找
     *
     * @param id
     * @return
     * @throws Exception
     */
    ExamMisDict selectDictById(Object id) throws Exception;

    /**
     * 根据对应表字段获取
     *
     * @param column
     * @return
     */
    List<ExamMisDict> selectByColumn(String column);

    List<ExamMisDict> listPage(Pagination pagination, ExamMisDict dict);

}
